import json
from config import BASE_DIR


def read_json(file):
    with open(BASE_DIR + "/data/" + file, mode="r", encoding="utf8") as f:
        data = json.load(f)
        list_data = []
        for i in data:
            list_data.append(tuple(i.values()))
        return list_data


if __name__ == '__main__':
    data = read_json("add_emp_data.json")
    print(data)
